<?php

class Image extends PageElement
{
	private $src;
	
	public function __construct()
	{
	}
	
	public function setSource($src)
	{
		$this->src = $src;
	}

	public function getHTML()
	{
		$html = "<img src=\"".$this->src."\"".parent::getHTML().">\n";
		return $html;
	}

}

?>
